projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94d1817
)
(flyspell-mode-on): fix kill-buffer-hook
author
Karl Heuer
<kwzh@gnu.org>
Thu, 10 Sep 1998 16:05:59 +0000
(16:05 +0000)
committer
Karl Heuer
<kwzh@gnu.org>
Thu, 10 Sep 1998 16:05:59 +0000
(16:05 +0000)
to make killing of ispell process work even if
kill-all-local-variables has been run.
lisp/textmodes/flyspell.el
patch
|
blob
|
history
diff --git
a/lisp/textmodes/flyspell.el
b/lisp/textmodes/flyspell.el
index 43ddf8bea739b23b8ef00d3766a51acfcdf2ebbd..cae3fb76c985468aca802e9ee73e4f289a9ff1fb 100644
(file)
--- a/
lisp/textmodes/flyspell.el
+++ b/
lisp/textmodes/flyspell.el
@@
-344,8
+344,8
@@
flyspell-buffer checks the whole buffer."
;; improvement).
(add-hook 'kill-buffer-hook
'(lambda ()
- (if
flyspell-mode
- (
flyspell-mode-off
))))
+ (if
(and flyspell-multi-language-p ispell-process)
+ (
ispell-kill-ispell t
))))
;; we end with the flyspell hooks
(run-hooks 'flyspell-mode-hook))